﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage/PageTemplate.Master" AutoEventWireup="True"
    Codebehind="Default.aspx.cs" Inherits="BingZi.HY.UI.Center.Manager.app_ShopJobsUI.Default"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <BingZiControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
         HeadOPTxt="店铺招聘信息列表" HeadTitleTxt="店铺招聘信息">
        <BingZiControls:HeadMenuButtonItem ButtonPopedom="New" ButtonUrl="Manager.aspx?CMD=New"
            ButtonUrlType="Href" ButtonVisible="True" ButtonName="店铺招聘信息" />
    </BingZiControls:HeadMenuWebControls>
    <BingZiControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <BingZiControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="店铺招聘信息列表">
            <asp:GridView ID="GridView1" runat="server" OnSorting="GridView1_Sorting" OnRowCreated="GridView1_RowCreated" >
                <Columns>
                    <asp:TemplateField SortExpression="JobID" HeaderText="序号"> 
                        <ItemTemplate>
                        <a href="Manager.aspx?IDX=<%#Eval("JobID")%>&CMD=List"><%# (this.AspNetPager1.CurrentPageIndex - 1) * this.AspNetPager1.PageSize + Container.DataItemIndex + 1%></a>
                        </ItemTemplate>
                        <ItemStyle Wrap="True" />  
                        <HeaderStyle Wrap="False" />    
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="所属用户" SortExpression="UserID" DataField="UserID" />
                    <asp:BoundField HeaderText="标题" SortExpression="J_Title" DataField="J_Title" />
                    <asp:BoundField HeaderText="过期时间" SortExpression="J_ExpiredTime" DataField="J_ExpiredTime" />
                    <asp:BoundField HeaderText="发布时间" SortExpression="J_StartTime" DataField="J_StartTime" />
                    <asp:BoundField HeaderText="最后操作时间" SortExpression="J_LastTime" DataField="J_LastTime" />
                    <asp:BoundField HeaderText="最后操作用户" SortExpression="J_LastUserID" DataField="J_LastUserID" />
                    <asp:BoundField HeaderText="置顶1,正常0" SortExpression="J_Top" DataField="J_Top" />
                    <asp:BoundField HeaderText="套红1,正常0" SortExpression="J_Red" DataField="J_Red" />
                    <asp:BoundField HeaderText="审核状态" SortExpression="J_Status" DataField="J_Status" />
                </Columns>
            </asp:GridView>
            <BingZiControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
            </BingZiControls:AspNetPager>
            <asp:Button ID="Button2" Visible="false" CssClass="button_bak" runat="server" Text="删除" OnClientClick="return deleteop();" OnClick="Button2_Click" />
        </BingZiControls:TabOptionItem>
        <BingZiControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="查询">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_body">
                        所属用户</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="UserID_Input" title="请输入所属用户~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        标题</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_Title_Input" title="请输入标题~128:" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        描述</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_Description_Input" title="请输入描述~2147483647:" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        过期时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_ExpiredTime_Input" title="请输入过期时间~datetime" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        发布时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_StartTime_Input" title="请输入发布时间~datetime" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        最后操作时间</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_LastTime_Input" title="请输入最后操作时间~datetime" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        最后操作用户</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_LastUserID_Input" title="请输入最后操作用户~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        置顶1,正常0</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_Top_Input" title="请输入置顶1,正常0~255:int" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        套红1,正常0</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_Red_Input" title="请输入套红1,正常0~255:int" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td class="table_body">
                        审核状态</td>
                    <td class="table_none">
                     
                        <asp:TextBox ID="J_Status_Input" title="请输入审核状态~255:int" runat="server" CssClass="text_input"></asp:TextBox>
                    
                        </td>
                </tr>
                <tr>
                    <td colspan="4" align="right">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="查询" OnClick="Button1_Click" /></td>
                </tr>
            </table>
        </BingZiControls:TabOptionItem>
    </BingZiControls:TabOptionWebControls>

<script language="javascript" type="text/javascript">
<!--

function SelectAll()
{
   var e=document.getElementsByTagName("input");
   var IsTrue;
   if(document.getElementById("CheckboxAll").value=="0")
　 {
　　 IsTrue=true;
　　 document.getElementById("CheckboxAll").value="1"
　 }
　 else
　 {
　　IsTrue=false;
　　document.getElementById("CheckboxAll").value="0"
　　}
　　
　for(var i=0;i<e.length;i++)
　{
　　if (e[i].type=="checkbox")
　　{
　　   e[i].checked=IsTrue;
　　}
　}
}
function deleteop()
{
    var checkok = false;
    var e=document.getElementsByTagName("input");
    for(var i=0;i<e.length;i++)
　  {
　     if (e[i].type=="checkbox")
　　     {
　　         if (e[i].checked==true)
　　         {
　　             checkok = true;
　　             break;　　             
　　         }
　　     }  
　  }
　  if (checkok) 
        return confirm('删除后不可恢复,确认要批量删除选中记录吗？');
    else
    {
        
        alert("请选择要删除的记录!");
        return false;
    }
}
// -->
    </script>

</asp:Content>
